<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>输出1-1000所有65的倍数之和</title>
</head>
<body>
    <script>
        var a,sum;
        sum=0;
        for(i=0;i<=1000;i++){
            if(i%65!=0){
                continue;
            }
            sum+=i;
        }
        document.write("1~1000以内所有65的倍数的和为："+sum);
    </script>
</body>
</html>